
//{"data":"短信验证码已发送","resultCode":0,"resultMsg":"成功！","queryCount":0,"resultMsgEx":null}
class SmsResponse {
  final String? data;
  final int resultCode;
  final String? resultMsg;
  final int queryCount;
  final String? resultMsgEx;

  SmsResponse({
    required this.data,
    required this.resultCode,
    required this.resultMsg,
    required this.queryCount,
    required this.resultMsgEx,
  });

  factory SmsResponse.fromJson(Map<String, dynamic> json) => SmsResponse(
    data: json["data"] ?? '',
    resultCode: json["resultCode"] ?? 0,
    resultMsg: json["resultMsg"] ?? '',
    queryCount: json["queryCount"] ?? 0,
    resultMsgEx: json["resultMsgEx"] ?? '',
  );

  // factory SmsResponse.fromJson(Map<String, dynamic> json) {
  //   return SmsResponse(
  //     data: json['data'] ?? '',
  //     resultCode: json['resultCode'] ?? 0,
  //     resultMsg: json['resultMsg'] ?? '',
  //     queryCount: json['queryCount'] ?? 0,
  //     resultMsgEx: json['resultMsgEx'],
  //   );
  // }

}


